﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Warehouse.Application.Dto.Input;
using Warehouse.Application.Dto.Output;
using Warehouse.Domain.Entities;
using Warehouse.Result;

namespace Warehouse.Application.Services.Externallabl
{
    public interface IExternallabelModelAppService
    {
        /// <summary>
        /// 创建外部标签
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> CreateExternallabel(CreateExternallabelInput input);

        /// <summary>
        /// 获取外部标签
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiPaing<ExternallabelOutput> GetExternallabel(PageInput input);
        /// <summary>
        /// 获取一条外部标签
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        ApiResult<ExternallabelModel> GetModelExternallabel(long Id);
        /// <summary>
        /// 删除外部标签
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        ApiResult<int> DeleteExternallabel(long Id);

        /// <summary>
        /// 创建外部标签
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        ApiResult<int> UpdateExternallabel(UpdateExternallabelInput input);


    }
}
